package com.zhongyouyun.admin.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author: shenyi
 * @Date: 2021-12-20
 * @Description:
 */

@ApiModel(value = "RoleDictModel对象", description = "角色按钮")
@Data
@TableName("z_role_dict")
@Accessors(chain = true)
public class RoleDictModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableField("role_id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;


    @ApiModelProperty(value = "账号")
    @TableField("xiangmu_type")
    private String xiangMuType;


    @TableField("menu_id")
    private Integer menuId;


    @ApiModelProperty(value = "按钮ID")
    @TableField("dict_id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dictId;

    @TableField("is_del")
    private String isDel;

    @TableField("createBy")
    private String createBy;

    @TableField("createTime")
    private Date createTime;

    @TableField("updateBy")
    private String updateBy;

    @TableField("updateTime")
    private Date updateTime;

    @TableField("remarks")
    private String remarks;


}